# Get all the variables from ANT
name = '${ANT_SERVER_NAME}'
cp = '${ANT_MS_CP}'
arg = '${ANT_MS_ARG}'
vendor = '${ANT_JVM_VENDOR}'
java_home = '${ANT_JAVA_HOME}'
as_ip = '${ANT_AS_IP}'
as_port = ${ANT_AS_PORT}
as_pass = '${ANT_AS_PASS}'
domain_path = '${ANT_DOMAIN_HOME}/${ANT_DOMAIN_NAME}' 

#Server
server_list = ${ANT_SERVER_NAMES}
server_ip_list = ${ANT_MS_IPS}
server_port_list = ${ANT_MS_PORTS}

# Machine
machine_host_name = '${ANT_MACHINE_HOSTNAME}'

# Node Manager
nm_home = '${ANT_NM_HOME}'
nm_type = '${ANT_NM_TYPE}'
nm_port = ${ANT_NM_PORT}
nm_ip = '${ANT_NM_IP}'

username = '${ANT_AS_USER}'
password = '${ANT_AS_PASS}'
url = '${ANT_AS_URL}'

# clusters
resCluster = '${ANT_RES_CLUSTER_NAME}'
bkgCluster = '${ANT_BKG_CLUSTER_NAME}'
clusterList= bkgCluster,resCluster



def verifyResCluster():
    
    
connect(username, password, url)    
    